package com.zj.chat.common.websocket.domain.enums;

import lombok.Getter;

@Getter
public enum WSBRespTypeEnum {

    LOGIN_URL(1,"登录维码返回"),

    LOGIN_SCAN_SUCCESS(2,"用户扫描成功等待授权"),

    LOGIN_SUCCESS(3,"用户登录成功返回用户信息"),

    MESSAGE(4,"新消息"),

    ONLINE_OFFLINE_NOTIFY(5,"上下线通知"),

    INVALIDATE_TOKEN(6,"token失效，需要重新登录"),

    BLACK(7,"拉黑"),

    MARK(8,"消息标记"),

    RECALL(9,"消息撤回"),

    APPLY(10,"好友申请"),

    MEMBER_CHANGE(11,"成员变动")

    ;

    private final Integer type;

    private final String desc;

    WSBRespTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
